﻿@model RastinArgham.Website.Models.OrderViewDTO

@{
    ViewBag.Title = "راستین ارقام - سفارش سرویس";
    ReCaptcha.PublicKey = "6LfR58kSAAAAAOqRjFlOEXPLI7fAb9hQaxWqhPD9";
}

<h1>سفارش آنلاین اینترنت پر سرعت وایمکس</h1>

<script src="@Url.Content("~/Scripts/rastin.order.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


@using (Html.BeginForm()) { 
     

    <div>
        
        @Html.ValidationSummary()

        <div id="select">
          <table>
           <tr>
            <td>
             @Html.LabelFor(model => model.ContactTypeId)
            </td>
            <td>
             @Html.DropDownListFor(model => model.ContactTypeId, new SelectList(RastinArgham.Website.Controllers.OrderController.ContactTypes, "Id", "Description"))
            </td>
            <td style="width:50px;">
                &nbsp;
            </td>
           <td>
             @Html.LabelFor(model => model.ServiceId) 
           </td>
           <td>
             @Html.DropDownListFor(model => model.ServiceId, new SelectList(RastinArgham.Website.Controllers.OrderController.GetServices(), "ServiceId", "Description"))
           </td>
          </tr>
          </table>
        </div>
       
       <div id="table_personal_contact">
       <fieldset>
       <legend>مشخصات شخص حقیقي </legend>
        <table class="inputtable">
        <tr>
            <td>
                @Html.LabelFor(model => model.FirstName) 
                @Html.TextBoxFor(model => model.FirstName)
            </td>
            <td>
                @Html.LabelFor(model => model.LastName)
                @Html.TextBoxFor(model => model.LastName)
            </td>
        </tr>

        <tr>
            <td>
             @Html.LabelFor(model => model.EnglishFullName) 
             @Html.TextBoxFor(model => model.EnglishFullName)  
            </td>
            <td>
             @Html.LabelFor(model => model.NationalCode) 
             @Html.TextBoxFor(model => model.NationalCode)
            </td>
        </tr>
        <tr>
            <td>
             @Html.LabelFor(model => model.FatherName) 
             @Html.TextBoxFor(model => model.FatherName)
            </td>
            <td>
             @Html.LabelFor(model => model.IdentityNumber) 
             @Html.TextBoxFor(model => model.IdentityNumber)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.IdentityIssuePlace) 
                @Html.TextBoxFor(model => model.IdentityIssuePlace)
            </td>
            <td>
                @Html.LabelFor(model => model.Job) 
                @Html.TextBoxFor(model => model.Job)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.EducationalMajor) 
                @Html.TextBoxFor(model => model.EducationalMajor)
            </td>
            <td>
                @Html.LabelFor(model => model.AcademicDegree) 
                @Html.TextBoxFor(model => model.AcademicDegree)
            </td>
        </tr>
        </table>
        </fieldset>
        </div>
        <div id="table_company_contact">
        <fieldset>
         <legend>مشخصات شخص حقوقي</legend>
        <table class="inputtable">
        <tr>
            <td>
                @Html.LabelFor(model => model.CompanyName) 
                @Html.TextBoxFor(model => model.CompanyName)
            </td>
            <td>
                @Html.LabelFor(model => model.CompanyEnglishName) 
                @Html.TextBoxFor(model => model.CompanyEnglishName)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.RegistrationNumber) 
                @Html.TextBoxFor(model => model.RegistrationNumber)
            </td>
            <td>
                @Html.LabelFor(model => model.ManagerFirstName) 
                @Html.TextBoxFor(model => model.ManagerFirstName)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.ManagerLastName) 
                @Html.TextBoxFor(model => model.ManagerLastName)
            </td>
            <td>
                @Html.LabelFor(model => model.ManagerFullNameEnglish) 
                @Html.TextBoxFor(model => model.ManagerFullNameEnglish)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.ManagerNationalCode) 
                @Html.TextBoxFor(model => model.ManagerNationalCode)
            </td>
            <td>
                @Html.LabelFor(model => model.ManagerEducationalMajor) 
                @Html.TextBoxFor(model => model.ManagerEducationalMajor)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.ManagerAcademicDegree) 
                @Html.TextBoxFor(model => model.ManagerAcademicDegree)
            </td>
            <td>
                @Html.LabelFor(model => model.CompanyActivityField) 
                @Html.TextBoxFor(model => model.CompanyActivityField)
            </td>
        </tr>
    </table>  
    </fieldset>
    </div>

    <div id="table_contact">
      <fieldset>
       <legend>مشخصات تماس</legend>
        <table class="inputtable">
            <tr>
                <td>
                    @Html.LabelFor(model => model.CityId)                                        
                    @Html.DropDownListFor(model => model.CityId, new SelectList(RastinArgham.Website.Controllers.OrderController.GetCities(), "CityId", "CityName"))
                </td>
               <td>
                    @Html.LabelFor(model => model.ZipCode)                                        
                    @Html.TextBoxFor(model => model.ZipCode)
                </td>
            </tr>
            <tr>
                 <td>
                    @Html.LabelFor(model => model.Email)
                    @Html.TextBoxFor(model => model.Email)
                </td>
                <td>
                    @Html.LabelFor(model => model.MobilePhone)
                    @Html.TextBoxFor(model => model.MobilePhone)
                </td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(model => model.Phone)
                    @Html.TextBoxFor(model => model.Phone)
                </td>
                <td>
                    @Html.LabelFor(model => model.Fax)
                    @Html.TextBoxFor(model => model.Fax)
                </td>
            </tr>
            <tr>
               
                <td class="last">
                    @Html.LabelFor(model => model.Website)
                    @Html.TextBoxFor(model => model.Website)
                </td>
                  <td>
                    @Html.LabelFor(model => model.Address)                                        
                    @Html.TextAreaFor(model => model.Address)
                </td>
            </tr>
        </table>
        </fieldset>
        </div>
        <div class="spacer"></div>
        
        <div id="div_captcha">
           @ReCaptcha.GetHtml(theme: "white", language: "en")
        </div>

        <div id="div_submit">
            <input type="submit" class="submit" value="سفارش سرویس" />
        </div>
    </div>
    }